import ApiSend from './api-send'
import ApiExport from './api-export'
let ser = {
    list:function (data) {
        return ApiSend(data,'Ptgly/getPtryList')
    },
    save:function (data) {
        return ApiSend(data,'Ptgly/updateWorker')
    },
    add:function (data) {
        return ApiSend(data,'Ptgly/addWorker')
    },
    enable:function (data) {
        return ApiSend(data,'Ptgly/setEnable')
    },
    disable:function (data) {
        return ApiSend(data,'Ptgly/setDisable')
    },
    importFile:function (data) {
        return ApiSend(data,'Ptgly/importPtry')
    },
};
export default ser